import config from "@/config";

export default {
	upload: {
		url: `${config.API_URL}/upload`,
		name: "文件上传",
	},
	uploadFile: {
		url: `${config.API_URL}/uploadFile`,
		name: "附件上传",
	},
	exportFile: {
		url: `${config.API_URL}/fileExport`,
		name: "导出附件",
	},
	importFile: {
		url: `${config.API_URL}/fileImport`,
		name: "导入附件",
	},
	file: {
		menu: {
			url: `${config.API_URL}/file/menu`,
			name: "获取文件分类",
		},
		list: {
			url: `${config.API_URL}/file/list`,
			name: "获取文件列表",
		},
	},
};
